[INFO] fetching crate libbz2-rs-sys 0.2.5...
[INFO] fixing libbz2-rs-sys-0.2.5 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate libbz2-rs-sys 0.2.5 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate libbz2-rs-sys 0.2.5
[INFO] finished tweaking crates.io crate libbz2-rs-sys 0.2.5
[INFO] tweaked toml for crates.io crate libbz2-rs-sys 0.2.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate libbz2-rs-sys 0.2.5 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate libbz2-rs-sys 0.2.5 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 202085d7601c910a6d2461600fde54cc0fb77807636914fef59d1f00df610bb0
[INFO] running `Command { std: "docker" "start" "202085d7601c910a6d2461600fde54cc0fb77807636914fef59d1f00df610bb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "202085d7601c910a6d2461600fde54cc0fb77807636914fef59d1f00df610bb0" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "202085d7601c910a6d2461600fde54cc0fb77807636914fef59d1f00df610bb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "202085d7601c910a6d2461600fde54cc0fb77807636914fef59d1f00df610bb0" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]     Checking libbz2-rs-sys v0.2.5 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/bzlib.rs (13 fixes)
[INFO] [stderr]        Fixed src/blocksort.rs (11 fixes)
[INFO] [stderr]        Fixed src/decompress.rs (8 fixes)
[INFO] [stderr]        Fixed src/high_level.rs (31 fixes)
[INFO] [stderr]        Fixed src/lib.rs (2 fixes)
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:159:3
[INFO] [stdout]     |
[INFO] [stdout] 159 | #[export_name = prefix!(BZ2_bzWriteOpen)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]     = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:270:3
[INFO] [stdout]     |
[INFO] [stdout] 270 | #[export_name = prefix!(BZ2_bzWrite)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:380:3
[INFO] [stdout]     |
[INFO] [stdout] 380 | #[export_name = prefix!(BZ2_bzWriteClose)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:439:3
[INFO] [stdout]     |
[INFO] [stdout] 439 | #[export_name = prefix!(BZ2_bzWriteClose64)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:607:3
[INFO] [stdout]     |
[INFO] [stdout] 607 | #[export_name = prefix!(BZ2_bzReadOpen)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:720:3
[INFO] [stdout]     |
[INFO] [stdout] 720 | #[export_name = prefix!(BZ2_bzReadClose)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:783:3
[INFO] [stdout]     |
[INFO] [stdout] 783 | #[export_name = prefix!(BZ2_bzRead)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:903:3
[INFO] [stdout]     |
[INFO] [stdout] 903 | #[export_name = prefix!(BZ2_bzReadGetUnused)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1051:3
[INFO] [stdout]      |
[INFO] [stdout] 1051 | #[export_name = prefix!(BZ2_bzopen)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1080:3
[INFO] [stdout]      |
[INFO] [stdout] 1080 | #[export_name = prefix!(BZ2_bzdopen)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1111:3
[INFO] [stdout]      |
[INFO] [stdout] 1111 | #[export_name = prefix!(BZ2_bzread)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1153:3
[INFO] [stdout]      |
[INFO] [stdout] 1153 | #[export_name = prefix!(BZ2_bzwrite)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1179:3
[INFO] [stdout]      |
[INFO] [stdout] 1179 | #[export_name = prefix!(BZ2_bzflush)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1196:3
[INFO] [stdout]      |
[INFO] [stdout] 1196 | #[export_name = prefix!(BZ2_bzclose)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1259:3
[INFO] [stdout]      |
[INFO] [stdout] 1259 | #[export_name = prefix!(BZ2_bzerror)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/bzlib.rs (1 fix)
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:159:3
[INFO] [stdout]     |
[INFO] [stdout] 159 | #[export_name = prefix!(BZ2_bzWriteOpen)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]     = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:270:3
[INFO] [stdout]     |
[INFO] [stdout] 270 | #[export_name = prefix!(BZ2_bzWrite)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:380:3
[INFO] [stdout]     |
[INFO] [stdout] 380 | #[export_name = prefix!(BZ2_bzWriteClose)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:439:3
[INFO] [stdout]     |
[INFO] [stdout] 439 | #[export_name = prefix!(BZ2_bzWriteClose64)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:607:3
[INFO] [stdout]     |
[INFO] [stdout] 607 | #[export_name = prefix!(BZ2_bzReadOpen)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:720:3
[INFO] [stdout]     |
[INFO] [stdout] 720 | #[export_name = prefix!(BZ2_bzReadClose)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:783:3
[INFO] [stdout]     |
[INFO] [stdout] 783 | #[export_name = prefix!(BZ2_bzRead)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:903:3
[INFO] [stdout]     |
[INFO] [stdout] 903 | #[export_name = prefix!(BZ2_bzReadGetUnused)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1051:3
[INFO] [stdout]      |
[INFO] [stdout] 1051 | #[export_name = prefix!(BZ2_bzopen)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1080:3
[INFO] [stdout]      |
[INFO] [stdout] 1080 | #[export_name = prefix!(BZ2_bzdopen)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1111:3
[INFO] [stdout]      |
[INFO] [stdout] 1111 | #[export_name = prefix!(BZ2_bzread)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1153:3
[INFO] [stdout]      |
[INFO] [stdout] 1153 | #[export_name = prefix!(BZ2_bzwrite)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1179:3
[INFO] [stdout]      |
[INFO] [stdout] 1179 | #[export_name = prefix!(BZ2_bzflush)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1196:3
[INFO] [stdout]      |
[INFO] [stdout] 1196 | #[export_name = prefix!(BZ2_bzclose)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1259:3
[INFO] [stdout]      |
[INFO] [stdout] 1259 | #[export_name = prefix!(BZ2_bzerror)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.53s
[INFO] [stderr] crater-edition-check: libbz2-rs-sys v0.2.5 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking libbz2-rs-sys v0.2.5 (/opt/rustwide/workdir)
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:159:3
[INFO] [stdout]     |
[INFO] [stdout] 159 | #[export_name = prefix!(BZ2_bzWriteOpen)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:270:3
[INFO] [stdout]     |
[INFO] [stdout] 270 | #[export_name = prefix!(BZ2_bzWrite)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:380:3
[INFO] [stdout]     |
[INFO] [stdout] 380 | #[export_name = prefix!(BZ2_bzWriteClose)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:439:3
[INFO] [stdout]     |
[INFO] [stdout] 439 | #[export_name = prefix!(BZ2_bzWriteClose64)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:607:3
[INFO] [stdout]     |
[INFO] [stdout] 607 | #[export_name = prefix!(BZ2_bzReadOpen)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:720:3
[INFO] [stdout]     |
[INFO] [stdout] 720 | #[export_name = prefix!(BZ2_bzReadClose)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:783:3
[INFO] [stdout]     |
[INFO] [stdout] 783 | #[export_name = prefix!(BZ2_bzRead)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:903:3
[INFO] [stdout]     |
[INFO] [stdout] 903 | #[export_name = prefix!(BZ2_bzReadGetUnused)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1051:3
[INFO] [stdout]      |
[INFO] [stdout] 1051 | #[export_name = prefix!(BZ2_bzopen)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1080:3
[INFO] [stdout]      |
[INFO] [stdout] 1080 | #[export_name = prefix!(BZ2_bzdopen)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1111:3
[INFO] [stdout]      |
[INFO] [stdout] 1111 | #[export_name = prefix!(BZ2_bzread)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1153:3
[INFO] [stdout]      |
[INFO] [stdout] 1153 | #[export_name = prefix!(BZ2_bzwrite)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1179:3
[INFO] [stdout]      |
[INFO] [stdout] 1179 | #[export_name = prefix!(BZ2_bzflush)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1196:3
[INFO] [stdout]      |
[INFO] [stdout] 1196 | #[export_name = prefix!(BZ2_bzclose)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1259:3
[INFO] [stdout]      |
[INFO] [stdout] 1259 | #[export_name = prefix!(BZ2_bzerror)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:159:3
[INFO] [stdout]     |
[INFO] [stdout] 159 | #[export_name = prefix!(BZ2_bzWriteOpen)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:270:3
[INFO] [stdout]     |
[INFO] [stdout] 270 | #[export_name = prefix!(BZ2_bzWrite)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:380:3
[INFO] [stdout]     |
[INFO] [stdout] 380 | #[export_name = prefix!(BZ2_bzWriteClose)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:439:3
[INFO] [stdout]     |
[INFO] [stdout] 439 | #[export_name = prefix!(BZ2_bzWriteClose64)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:607:3
[INFO] [stdout]     |
[INFO] [stdout] 607 | #[export_name = prefix!(BZ2_bzReadOpen)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:720:3
[INFO] [stdout]     |
[INFO] [stdout] 720 | #[export_name = prefix!(BZ2_bzReadClose)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:783:3
[INFO] [stdout]     |
[INFO] [stdout] 783 | #[export_name = prefix!(BZ2_bzRead)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/high_level.rs:903:3
[INFO] [stdout]     |
[INFO] [stdout] 903 | #[export_name = prefix!(BZ2_bzReadGetUnused)]
[INFO] [stdout]     |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1051:3
[INFO] [stdout]      |
[INFO] [stdout] 1051 | #[export_name = prefix!(BZ2_bzopen)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1080:3
[INFO] [stdout]      |
[INFO] [stdout] 1080 | #[export_name = prefix!(BZ2_bzdopen)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1111:3
[INFO] [stdout]      |
[INFO] [stdout] 1111 | #[export_name = prefix!(BZ2_bzread)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1153:3
[INFO] [stdout]      |
[INFO] [stdout] 1153 | #[export_name = prefix!(BZ2_bzwrite)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1179:3
[INFO] [stdout]      |
[INFO] [stdout] 1179 | #[export_name = prefix!(BZ2_bzflush)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1196:3
[INFO] [stdout]      |
[INFO] [stdout] 1196 | #[export_name = prefix!(BZ2_bzclose)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]     --> src/high_level.rs:1259:3
[INFO] [stdout]      |
[INFO] [stdout] 1259 | #[export_name = prefix!(BZ2_bzerror)]
[INFO] [stdout]      |   ^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/high_level.rs:206:15
[INFO] [stdout]     |
[INFO] [stdout] 176 | ) -> *mut BZFILE { unsafe {
[INFO] [stdout]     |                    ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 206 |     let bzf = unsafe { &mut *bzf };
[INFO] [stdout]     |               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/high_level.rs:320:13
[INFO] [stdout]     |
[INFO] [stdout] 285 | ) { unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 320 |             unsafe { BzStream::from_mut(&mut bzf.strm) },
[INFO] [stdout]     |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/high_level.rs:657:15
[INFO] [stdout]     |
[INFO] [stdout] 626 | ) -> *mut BZFILE { unsafe {
[INFO] [stdout]     |                    ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 657 |     let bzf = unsafe { &mut *bzf };
[INFO] [stdout]     |               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/high_level.rs:847:36
[INFO] [stdout]     |
[INFO] [stdout] 798 | ) -> c_int { unsafe {
[INFO] [stdout]     |              ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 847 |         match BZ2_bzDecompressHelp(unsafe { BzStream::from_mut(&mut bzf.strm) }) {
[INFO] [stdout]     |                                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libbz2-rs-sys` (lib test) due to 15 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/high_level.rs:206:15
[INFO] [stdout]     |
[INFO] [stdout] 176 | ) -> *mut BZFILE { unsafe {
[INFO] [stdout]     |                    ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 206 |     let bzf = unsafe { &mut *bzf };
[INFO] [stdout]     |               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/high_level.rs:320:13
[INFO] [stdout]     |
[INFO] [stdout] 285 | ) { unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 320 |             unsafe { BzStream::from_mut(&mut bzf.strm) },
[INFO] [stdout]     |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/high_level.rs:657:15
[INFO] [stdout]     |
[INFO] [stdout] 626 | ) -> *mut BZFILE { unsafe {
[INFO] [stdout]     |                    ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 657 |     let bzf = unsafe { &mut *bzf };
[INFO] [stdout]     |               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/high_level.rs:847:36
[INFO] [stdout]     |
[INFO] [stdout] 798 | ) -> c_int { unsafe {
[INFO] [stdout]     |              ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 847 |         match BZ2_bzDecompressHelp(unsafe { BzStream::from_mut(&mut bzf.strm) }) {
[INFO] [stdout]     |                                    ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libbz2-rs-sys` (lib) due to 15 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "202085d7601c910a6d2461600fde54cc0fb77807636914fef59d1f00df610bb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "202085d7601c910a6d2461600fde54cc0fb77807636914fef59d1f00df610bb0", kill_on_drop: false }`
[INFO] [stdout] 202085d7601c910a6d2461600fde54cc0fb77807636914fef59d1f00df610bb0
